module Utils
  def execute(command)
    puts "EXECUTING: #{command}"
    system(command) or raise "  FAILED while executing: #{command}"
  end

  def execute_remotely(host, command)
    execute("ssh -o 'PasswordAuthentication no' #{host} '#{command}'")
  end

end